@{
    var view = "~/Views/Admin/WebPackageManager/_ListPackageView.cshtml";
    // SOME reflection
    //ObjectInfo.Print(App.LocalPackageRepository.GetPackages());
    //ObjectInfo.Print(App.WebPackageManager)

}
<ul>
    @foreach(var package in App.LocalPackageRepository.GetPackages())
    {
       <li>
            <a href="@Href("InstallPackage",package.Id,package.Version)">@package.Id</a>&nbsp;
            @if(App.WebPackageManager.IsPackageInstalled(package))
            {
                @:installed
            }else{
                @:uninstalled
            }
                
                
       </li>
    }

</ul>
@RenderPage(view)
    